package com.hmy.equipment.service;

import com.hmy.equipment.service.impl.AeviceStateImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author ljy
 * @Date 2024/2/20 14:41
 * @description: 园区设备状态更改
 * @Title: AeviceState
 * @Package com.hmy.equipment.service
 */
@FeignClient(name = "hmy-park", path = "/phouse", fallback = AeviceStateImpl.class)
public interface AeviceState {
    @GetMapping("/AeviceState/{tableName}/{phouseCoud}")
    void getPhouseCoudInTable(@PathVariable("tableName") String tableName,
                              @PathVariable("phouseCoud") String phouseCoud);
}
